﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
   public class TheLoaiTailieu_BLL
    {
       TheLoaiTaiLieu_Data theLoai_data = new TheLoaiTaiLieu_Data();
       public DataTable TaoBang(string sql)
       {
           return theLoai_data.TaoBang(sql);
       }
       public DataTable LayDuLieu()
       {
           return theLoai_data.LayDuLieu();
       }
       public int Insert(TheLoaiTaiLieu_Public maTheLoai, TheLoaiTaiLieu_Public tenTheLoai, TheLoaiTaiLieu_Public ghiChu)
       {

           return theLoai_data.Insert(maTheLoai,tenTheLoai,ghiChu);
       }
       public int Update(TheLoaiTaiLieu_Public maTheLoai, TheLoaiTaiLieu_Public tenTheLoai, TheLoaiTaiLieu_Public ghiChu)
       {

           return theLoai_data.Update(maTheLoai,tenTheLoai,ghiChu);
       }
       public int Delete(TheLoaiTaiLieu_Public maTheLoai)
       {

           return theLoai_data.Delete(maTheLoai);
       }
    }
}
